package com.demo.designmode.adapter.classadapter;

/**
 * @Author: jxm
 * @Description: 电脑类
 * @Date: 2023-12-13 9:49
 * @Version: 1.0
 */
public class Computer {

    public String readSD(SDCard sdCard){
        if (sdCard == null){
            throw new NullPointerException("sd card null");
        }else {
            return sdCard.readSD();
        }
    }
}
